package com.wteam.dragon.model.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @Author 陈晓辉
 * @Date 2020/4/1 19:47
 */
@Data
@TableName("dept")
public class DeptSmallDto implements Serializable{
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    @TableLogic
    private Boolean isDelete;

}